package com.spc.car.data.mapper.sys;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.spc.car.data.entity.sys.SysRole;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 角色信息表 Mapper 接口
 * </p>
 *
 * @author 
 * @since 2020-03-06
 */
public interface SysRoleMapper extends BaseMapper<SysRole> {

    List<SysRole> listRoleByUserId(@Param("userId") Long userId);
}
